/**
 * 
 */
package com.itinsys.enma.domain.dto;

import java.util.List;
import java.util.Map;

/**
 * @author pferraz
 *
 */
public class PlanningReservationDTO {
	public static String UPDATE="updated";
	public static String DELETE="deleted";
	public static String INSERT="inserted";
	private long id;
	private long grId;
	private String action;
	private int planningId;
	private int eventLength;
	private String text;
	private String group;
	private String observation;
	private Map<String,String> rEnvDTO;
	private Map<String,String> timeRecByDays;
	private String start_date;
	private String end_date;
	private String recPattern;
	private String recType;
	private List<ConflictReservationDTO> conflictsResDTO;
	private List<Map<String,String>> reservPeriodDTO;
	private int day;
	private String openPlann;
	/**
	 * 
	 */
	public PlanningReservationDTO() {
		// TODO Auto-generated constructor stub
	}

	public PlanningReservationDTO(long id, int day) {
		this.id=id;
		this.day=day;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	
	
	public long getGrId() {
		return grId;
	}

	public void setGrId(long grId) {
		this.grId = grId;
	}

	public String getAction() {
		return action;
	}
	
	public void setAction(String action) {
		this.action = action;
	}

	public int getPlanningId() {
		return planningId;
	}

	public void setPlanningId(int planningId) {
		this.planningId = planningId;
	}

	public int getEventLength() {
		return eventLength;
	}

	public void setEventLength(int eventLength) {
		this.eventLength = eventLength;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

		

	public Map<String, String> getrEnvDTO() {
		return rEnvDTO;
	}

	public void setrEnvDTO(Map<String, String> rEnvDTO) {
		this.rEnvDTO = rEnvDTO;
	}

	public String getStart_date() {
		return start_date;
	}

	public void setStart_date(String start_date) {
		this.start_date = start_date;
	}

	public String getEnd_date() {
		return end_date;
	}

	public void setEnd_date(String end_date) {
		this.end_date = end_date;
	}
	
	

	public String getRecPattern() {
		return recPattern;
	}

	public void setRecPattern(String recPattern) {
		this.recPattern = recPattern;
	}

	public String getRecType() {
		return recType;
	}

	public void setRecType(String recType) {
		this.recType = recType;
	}

	

	public List<Map<String,String>> getReservPeriodDTO() {
		return reservPeriodDTO;
	}

	public void setReservPeriodDTO(List<Map<String,String>> reservPeriodDTO) {
		this.reservPeriodDTO = reservPeriodDTO;
	}

	public int getDay() {
		return day;
	}

	public void setDay(int day) {
		this.day = day;
	}

	public List<ConflictReservationDTO> getConflictsResDTO() {
		return conflictsResDTO;
	}

	public void setConflictsResDTO(List<ConflictReservationDTO> conflictsResDTO) {
		this.conflictsResDTO = conflictsResDTO;
	}

	public String getGroup() {
		return group;
	}

	public void setGroup(String group) {
		this.group = group;
	}

	public String getOpenPlann() {
		return openPlann;
	}

	public void setOpenPlann(String openPlann) {
		this.openPlann = openPlann;
	}

	public Map<String, String> getTimeRecByDays() {
		return timeRecByDays;
	}

	public void setTimeRecByDays(Map<String, String> timeRecByDays) {
		this.timeRecByDays = timeRecByDays;
	}

	public String getObservation() {
		return observation;
	}

	public void setObservation(String observation) {
		this.observation = observation;
	}

	
	

}
